package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理机器人管理对象 admin_agent_robot
 *
 * @author ruoyi
 * @date 2020-11-19
 */
public class AdminAgentRobot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String wexinName;

    /** 虚拟ID */
    @Excel(name = "虚拟ID")
    private String wexinId;

    /** 每期投注（最小） */
    @Excel(name = "每期投注", readConverterExp = "最=小")
    private Long minBet;

    /** 每期投注（最大） */
    @Excel(name = "每期投注", readConverterExp = "最=大")
    private Long maxBet;

    /** 最小注押 */
    @Excel(name = "最小注押")
    private BigDecimal minPrice;

    /** 最大注押 */
    @Excel(name = "最大注押")
    private BigDecimal maxPrice;

    /** 最小余额 */
    @Excel(name = "最小余额")
    private Long minSum;

    /** 最大余额 */
    @Excel(name = "最大余额")
    private Long maxSum;

    /** 所属代理 */
    @Excel(name = "所属代理")
    private String room;

    private BigDecimal price;

    private String[] fromTo;

    /** 开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "HH:mm:ss")
    private String beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "HH:mm:ss")
    private String endTime;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String[] getFromTo() {
        return fromTo;
    }

    public void setFromTo(String[] fromTo) {
        this.fromTo = fromTo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWexinName(String wexinName)
    {
        this.wexinName = wexinName;
    }

    public String getWexinName()
    {
        return wexinName;
    }
    public void setWexinId(String wexinId)
    {
        this.wexinId = wexinId;
    }

    public String getWexinId()
    {
        return wexinId;
    }
    public void setMinBet(Long minBet)
    {
        this.minBet = minBet;
    }

    public Long getMinBet()
    {
        return minBet;
    }
    public void setMaxBet(Long maxBet)
    {
        this.maxBet = maxBet;
    }

    public Long getMaxBet()
    {
        return maxBet;
    }
    public void setMinPrice(BigDecimal minPrice)
    {
        this.minPrice = minPrice;
    }

    public BigDecimal getMinPrice()
    {
        return minPrice;
    }
    public void setMaxPrice(BigDecimal maxPrice)
    {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMaxPrice()
    {
        return maxPrice;
    }
    public void setMinSum(Long minSum)
    {
        this.minSum = minSum;
    }

    public Long getMinSum()
    {
        return minSum;
    }
    public void setMaxSum(Long maxSum)
    {
        this.maxSum = maxSum;
    }

    public Long getMaxSum()
    {
        return maxSum;
    }
    public void setRoom(String room)
    {
        this.room = room;
    }

    public String getRoom()
    {
        return room;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wexinName", getWexinName())
            .append("wexinId", getWexinId())
            .append("minBet", getMinBet())
            .append("maxBet", getMaxBet())
            .append("minPrice", getMinPrice())
            .append("maxPrice", getMaxPrice())
            .append("minSum", getMinSum())
            .append("maxSum", getMaxSum())
            .append("room", getRoom())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
